package com.lemonsama.snake;

import javax.swing.*;
import java.awt.*;

public class GamePanel extends JPanel {
    //绘制面板

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);    //清屏
        this.setBackground(Color.BLACK);
    }
}
